home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / networke / civ-0.000 / civ-0 / civ-0.3 / README < prev    next >
Text File  |  1995-11-19  |  10KB  |  265 lines

  1. NOTE: This README updated by MarkM to reflect his changes.
  2.  
  3. First of all a BIG BIG DISCLAIMER. This was written just for fun, so
  4. use at your own risk. I can't promise it won't mess up your hard disk
  5. or something like that. It hasnt messed up mine though. But it might (very 
  6. likely will) crash. In which case you will lose the game in which you 
  7. have invested so much time. It is also based very much on Microprose's 
  8. game called Civilization.
  9.  
  10. I don't have much time to maintain this presently so please don't send me
  11. lots of mail asking about fixes; I would appreciate any fixes though.
  12. I am putting it back on the net because although I have done a lot to
  13. the actual game rules aspect, I have not found out what was causing the
  14. crashes; despite making some attempts to fix the problem I now think
  15. it may lie in the interaction with the GUI toolkit used, which I know
  16. nothing at all about. I did what I could within the limitation that all
  17. the calls to the widget set are pure black magick to me. I am hoping
  18. someone familiar with the widgets used can do something about the
  19. crashes.
  20.  
  21. Here's a small bit of documentation. 
  22. Don't forget to read the BUGS/UNIMPLIMENTED section at the end ;-)
  23. I'm putting this out on the net to get some feedback and also
  24. help with coding the rest of it. The game is getting playable right
  25. now but it could be much much better; but the crashes are the biggest
  26. problem. (Fixing the save game could help get around that a little
  27. though).
  28.  
  29. There are no computer players by the way, that's another must-do.
  30. To start up you must be running X11.
  31. First run civ, this will be the one who creates the world
  32. so when you get the dialogue box, enter your name and the number
  33. of players who will be playing. (Note: at least two players, because 
  34. if there is only one player that player wins so fast that the game
  35. never happens. Or something like that.) Don't bother about server name. 
  36. Then click the New Game button.
  37.  
  38. If you want to run under MS Windows see the section at the end.
  39.  
  40. Now for someone else to connect to your game, they must run civ too
  41. in the dialogue box, they enter a different name, and set the number
  42. of players to 0. Of course they must set the server name to that of
  43. your machine. They must also click the New Game button
  44.  
  45. If you want to restore a saved game, follow the same steps except
  46. that everyone clicks Restore Game. (Note tho that save-game crashes
  47. or even hangs X; in fact there does not seem to be any way of stopping
  48. the game that doesnt hang one end or the other.)
  49.  
  50. If the world is created successfully, the server civ will say
  51. Initializing and wait for players to connect.
  52.  
  53. Sometimes it is possible that civ cannot create the world because it
  54. gets a bad random number (well bad for me) in this case it will hang
  55. and you will not get not get the Initializing message. In this case
  56. just kill it and start again. [ Note, this should be fixed now. ]
  57.  
  58. Playing
  59. -------
  60.  
  61. Players take in turns to move and play with their cities. Only one
  62. player can move at a time. All other players mess with their cities
  63. during this time.
  64.  
  65. Initially its player 0's turn. After he finishes, every one else will
  66. get a messages saying he is done. They must now press 'a' to accept
  67. his moves (or click the accept button). Until they all do this, he
  68. cannot proceed. Once this is done, it becomes player 1's turn and so on.
  69.  
  70. To move units you either wait till they start blinking or click on them
  71. Clicking the right mouse button causes that square to be centered.
  72. Moving into another unit attacks it. Moving into an enemy city takes
  73. it over (only if it has no units in it). Clicking on a unit which is
  74. asleep or fortified wakes it up.
  75.  
  76. During your city turn you can click on a city to display info about it
  77. and then change stuff. If you click on a city during your move turn
  78. it will wake up all the units in the city but won't show you the city.
  79.  
  80. Commands
  81. --------
  82.  
  83. The interface is kind of like civ except everything works off the
  84. keyboard (I'm too lazy to make menus or help yet).
  85.  
  86. Cursor keys move units.
  87. Clicking on units wakes them up
  88. n    goes to the next unit in a move turn
  89. a    accepts a players move in your city turn
  90. S    initiates a save, only player 0 (the server player can initiate a
  91.     save). A save must be initiated in player 0's city turn
  92.     it will take effect when his move turn starts.
  93.     If you're not player 0, you get a message saying player 0
  94.     initiated save, then finish up what you're doing and press S
  95.  
  96. these keys give orders to units
  97.  
  98. d    disband (note: it just dies presently; no refund of any sort!)
  99. f    fortify
  100. s    sleep (won't wake up till you click on it)
  101. space    do nothing for this turn
  102.  
  103. orders which only work for settlers
  104.  
  105. b    build city
  106. i    irrigate
  107. m    mine
  108. p    clean up pollution
  109. r    build road/railroad
  110.  
  111. these keys only work in your city turn
  112.  
  113. b    in a city, buys what you are working on
  114. c    in a city, changes what you are working on
  115. g    government change: allows starting a revolution
  116. l    sets your luxuries rate
  117. m    in a city, takes you back to the map
  118. t    sets your tax rate
  119.  
  120. MS-WINDOWS
  121. ----------
  122.  
  123. I tried to get this working using the windows socket programming
  124. It seems to work pretty well but I'm not making any guarentees.
  125. If you wan't to compile it under windows, you must have winsock.lib
  126. get one of the free/shareware ones, and of course a c++ compiler.
  127. Don't compile X11Screen.cc and UMsgQ.cc. But you must compile
  128. WScreen.cc. And of course you're going to have to rename all the .cc
  129. to .cpp files. If you don't wan't to do this send me email, I have
  130. a compiled version which I'll send you, or put into the ftp directory.
  131.  
  132. BUGS/UNIMPLEMENTED FEATURES
  133. ---------------------------
  134.  
  135. [ Old notes by ksingh ]
  136.  
  137. o    No computer players
  138.  
  139. o    [ People get unhappy in cities, but cities don't civil disorder
  140.     shouldn't be hard to fix, look in City::Update ]
  141.     Fixed by MarkM in City::ComputeEcon - now building does not progress
  142.     (tho finished buildings still will be built) and no science or
  143.     money is produced by the disordered city. Still need to arrange for
  144.     a disorder icon for the city though.
  145.  
  146. o    No pollution
  147.  
  148. o    [ Caravans don't do anything, nor do diplomats, nuclear units
  149.     just have huge attack but don't destruct things. All these
  150.     should be pretty easy to fix. Look in Units.cc.]
  151.     Simple caravans implemented: disband one in a city and the
  152.     city's current accumulation of build resources is increased 50.
  153.     Diplomats and Caravans both ignore enemy zone of control.
  154.  
  155. o    [science advances a bit too fast, need to tweak Player::UpdateCities]
  156.         MarkM made cost of sciences be 15 lightbulbs times recursive number
  157.         of skill dependencies. (The dos civilisation game seems to have
  158.         the cost be 15 times the nubmer of skills already possessed, or
  159.         perhaps only those one researched oneself, not sure which.)
  160.     That ws too fast still, so now changed to 15 times number of
  161.     sciences you already have.
  162.  
  163. o    if you irrigate or build roads, it works but doesn't draw the
  164.     pictures for them. Need to add different pictures for each
  165.     terrain type to do this, and I'm too lazy right now. If you fix
  166.     this, send me the patch. [ Both now drawn, also railroads. ]
  167.  
  168. o    [ Sometimes civ can't create a world because it gets a bad random
  169.     number. In this case you have to kill it and restart. ]
  170.     This is mostly-fixed now; not proven never to happen perhaps?
  171.  
  172. lots and lots of other bugs which I either don't remember or don't
  173. know about, send me bug reports or fixes
  174.  
  175. anyways, have fun :-) 
  176.  
  177. Kirat
  178.  
  179. email: ksingh@fas.harvard.edu
  180. home ftp site:    ksingh.student.harvard.edu
  181.         in /pub/civ.tar.gz
  182.  
  183. NOTE:    ksingh seems unavailable. Some people currently working on it can be
  184.     reached via the mailing-list civ@knotwork.com so send patches there
  185.     and check there for latest fixes before reporting bugs in case the
  186.     bug is already known and perhaps fixed.
  187.  
  188. [ Continuing the list... ]
  189.  
  190. o    No display of happy population in city display.
  191.  
  192. o    No way to un-fortify units fortified in cities.
  193.  
  194. o    No "unit not at home" penalties (eg for Republic, Democracy).
  195.  
  196. o    No "we love our ruler" festivals. (These last two hopefully
  197.     balance one another to some extent.)
  198.  
  199.  
  200. BUILDINGS IMPLEMENTED (Not including Wonders)
  201. ---------------------
  202.  
  203. Aquaduct: Required in order to grow above 10 population.
  204. Bank: Multiplies luxuries and coins by 1.5.
  205. Cathedral: Keeps 4 population content.
  206. City Walls: Multiply defense by 3; prevents loss of population when units 
  207.             in city are killed.
  208. Colosseum: Keeps 3 population content.
  209. Factory: Multiplies resource production by 1.5.
  210. Fusion Plant: A type of Powerplant (see).
  211. Granary: Retains half of stored food when increasing population or building
  212.          settlers.
  213. Hydro Plant: A type of Powerplant (see).
  214. Library: Multiplies science by 1.5.
  215. Marketplace: Multiplies luxuries and coins by 1.5.
  216. Mfg. Plant: Multiplies resource production by 2.0, replacing Factory.
  217. Nuclear Plant: A type of Powerplant (see).
  218. Power Plant: If a Factory or Mfg. Plant is present, multiplies
  219.              resource production by 1.5. Requires Factory.
  220. Temple: Keeps 1 population content (2 if have Mysticism).
  221. University: Multiplies science by 1.5. Requires Library.
  222.  
  223.  
  224. UNIMPLEMENTED BUILDINGS (Not including Wonders)
  225. -----------------------
  226. (These buildings may be built but do nothing.)
  227.  
  228. Courthouse
  229. Mass Transit
  230. Palace
  231. Recycling Ctr
  232.  
  233.  
  234. WONDERS IMPLEMENTED
  235. -------------------
  236. (Below, each/all means all belonging to that player, not to all players.)
  237.  
  238. Colossus: Adds 1 trade to each trade square for each city.
  239. Copernicus' Observatory: Multiplies science by 1.5 for city it is in.
  240. Cure for Cancer: Adds one happyface in each city.
  241. Hanging Gardens: Adds one happyface in each city.
  242. Hoover Dam: Acts as powerplant for all cities that have no powerplant.
  243. Isaac Newton's College: Multiplies science by 1.5 for all universities.
  244. J.S. Bach's Cathedral: Adds two happyfaces in each city.
  245. Lighthouse: Adds one to movement for all sea-units.
  246. Magellan's Expedition: Adds one to movement for all sea-units.
  247. Michaelangelo's Chapel: Adds two to effect of each cathedral.
  248. Adds two happyfaces in each city.
  249. Oracle: Adds two to effect of each temple.
  250. Pyramids: Allows choice of any government type up to democracy.
  251. SETI Program: Multiplies science by 1.5 for all cities.
  252.  
  253.  
  254. UNIMPLEMENTED WONDERS
  255. ---------------------
  256. (These wonders may be built but do nothing.)
  257.  
  258. Darwin's Voyage
  259. Great Library
  260. Great Wall
  261. Manhattan Project
  262. SDI Defense
  263. United Nations
  264. Women's Suffrage
  265.